<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.lang.reflect.Method"%>
<%
	String methodStr = request.getParameter("method");
	System.out.println(methodStr);
	String username = request.getParameter("username");
	Method method = this.getClass().getMethod(methodStr,
			HttpServletRequest.class, HttpServletResponse.class);
	method.invoke(this, request, response);
%>
<%!public void login(HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		response.sendRedirect("../main.jsp");
	}

	public void login2(HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		response.sendRedirect("../main.jsp");
	}%>
